import layout from '@/layout'
export default {
  // 路由信息
  path: '/DispatchManagement',
  component: layout,
  meta: {
    // 路由元信息 存储数据的
    icon: 'tree', // 图标
    title: '调度管理' // 标题
  }, // 一级路由

  children: [{
    path: '/DispatchManagement/SecondaryPage/TransportManagement',
    component: () => import('@/views/DispatchManagement/SecondaryPage/TransportManagement'),
    name: 'TransportManagement',
    meta: {
      icon: 'tree', // 图标
      title: '运输任务管理' // 标题
    }
  },
  {
    path: '/DispatchManagement/SecondaryPage/LineManagement',
    component: () => import('@/views/DispatchManagement/SecondaryPage/LineManagement'),
    name: 'LineManagement',
    meta: {
      icon: 'tree', // 图标
      title: '线路管理' // 标题
    }
  },
  {
    path: '/DispatchManagement/SecondaryPage/CollectManagement',
    component: () => import('@/views/DispatchManagement/SecondaryPage/CollectManagement'),
    name: 'CollectManagement',
    meta: {
      icon: 'tree', // 图标
      title: '取件管理' // 标题
    }
  },
  {
    path: '/DispatchManagement/SecondaryPage/DeliveryManagement',
    component: () => import('@/views/DispatchManagement/SecondaryPage/DeliveryManagement'),
    name: 'DeliveryManagement',
    meta: {
      icon: 'tree', // 图标
      title: '派件管理' // 标题
    }
  }
  ]
}

